﻿namespace Loki.Model
{
    public abstract class SubEntity<TParentEntity> : Entity
        where TParentEntity : IEntity
    {
        public SubEntity(TParentEntity parent)
        {
            Parent = parent;
        }

        public TParentEntity Parent
        {
            get;
            private set;
        }
    }
}